﻿#region

using PTCN.CrossPlatform.BettingGame.DataAccess.BingoLogic;
using PTCN.CrossPlatform.BettingGame.DataAccess.Types;
using System.Collections.Generic;

#endregion

namespace PTCN.CrossPlatform.BettingGame.Bingo.Models
{
    public class BingoPlayer : BettingGamePlayer
    {
        public BingoPlayer(AccountDb account)
            : base(account)
        {
            Status = PlayerStatus.NOT_INGAME;
       
            IsBanker = false;
            //State = new SedieState(AccountID);
            //Result = new SedieResult(AccountID, Account.UserName);
        }

      
        public bool IsBanker { get; internal set; }
        //public SedieState State { get; private set; }
        //public SedieResult Result { get; private set; }

        #region Bi Ngo property
        //add here
        #endregion

        public override void ClearData()
        {
            base.ClearData();
            IsBanker = false;
            Status = PlayerStatus.NOT_INGAME;
          
            //State.Refresh();
            //Result.Refresh();
        }

        internal void RefreshData()
        {
            Status = PlayerStatus.NOT_INGAME;
            //State.Refresh();
            //Result.Refresh();
        }
    }
}